body {
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  color: #2c3e50;
  padding: 0;
  margin: 0;
  background: #F7F9FD
}

* {
  box-sizing: border-box;
}

h2.page-title {
  text-align: center;
}

p {
  margin: 4px 0;
}
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #393939;
  box-shadow: 0 1px 1px rgba(0,0,0,.07);
  padding: 2px 0;
}

.nav-content {
  width: 900px;
  margin: 0 auto;
}

.nav-title {
  color: #fff;
  font-size: 14px;
  float: left;
}

.nav-menus {
  float: left;
  font-size: 14px;
  margin-left: 10px;
}

.nav-menus a {
  margin: 4px 0;
  display: inline-block;
  height: 20px;
  text-decoration: none;
  color: #fff;
}

.nav-menus a.selected {
  color: #e36209;
}

.related-link {
  float: right;
}

.related-link a {
  margin: 4px 0;
  display: inline-block;
  height: 20px;
  text-decoration: none;
  color: #fff;
}

#content {
  box-shadow: 0 0 1px rgba(0,0,0,.07);
  background: #fff;
  padding: 16px;
  width: 900px;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

@media (min-width: 320px) and (max-width: 480px) {
  #content {
    width: 100%;
    overflow: hidden;
    white-space: no-wrap;
    text-overflow: ellipsis;
  }
}

.content {
  position: absolute;
  left: 50%;
  transform: translate(-50%,100px);
  min-width: 400px;
  text-align: center
}

a {
  color: #db2037
}

details {
  text-align: left;
  max-height: 400px;
  overflow: auto;
  width: 400px
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: #eee
}

::-webkit-scrollbar-thumb:hover {
  background-color: #ccc
}

summary {
  margin-bottom: 10px;
  outline: 0;
  cursor: pointer
}

.debug-key {
  width: 120px;
  text-align: right;
  display: inline-block;
  margin-right: 10px
}

.debug-item {
  margin: 5px 0;
  font-size: 12px;
  line-height: 24px
}

.debug-value {
  display: inline-block;
  vertical-align: top;
  white-space: pre
}

#example-content {
  box-shadow: 0 0 1px rgba(0,0,0,.07);
  background: #fff;
  width: 900px;
  margin: 0 auto;
  border: 1px solid #e9e9e9;
  margin-top: 50px;
  margin-bottom: 10px;
  padding: 8px;
}

.example-books {

}

.single-book {
  display: inline-block;
  width: 50%;
  margin-bottom: 8px;
}

.book-cover {
  float: left;
  width: 100px;
  box-shadow: 0 1px 6px rgba(0,0,0,.35);
  margin-right: 16px;
}

.book-cover img {
  width: 100px;
  height: 130px;
  vertical-align: top;
}

.book-info {
  width: 320px;
  float: right;
  height: 130px;
  padding-right: 16px;
  display: flex;
  /* overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis; */
  flex-direction: column;
}

.book-title {
  color: #262626;
  font-size: 18px;
}

.book-shortIntro {
  font-size: 14px;
  color: #666;
  line-height: 24px;
  height: 48px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-author {
  line-height: 16px;
}

.book-author span {
  font-size: 12px;
  color: #a6a6a6;
  line-height: 16px;
}